package com.rs.service;


import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;
import com.rs.model.CommonResult;
import com.rs.model.ZhClasses;
import com.rs.model.ZhEmployment;

public interface ZhEmploymentService {

	
	//修改毕业生信息
	public CommonResult<Integer> updateZhEmployment(ZhEmployment zhEmployment);
	
	//删除毕业生信息
	public CommonResult<Integer> deleteZhEmployment(Integer emUid);
	
	//查询某个毕业生信息
	public CommonResult<ZhEmployment> selectZhEmployment(Integer id);
	
	//查询毕业学生集合（条件查询
	public Page<ZhEmployment> selectZhEmployments(ZhEmployment zhEmployment);
	
	//添加一个毕业学员
	public CommonResult<Integer> addZhEmployment(ZhEmployment zhEmployment);
	
	//展示所有毕业班级 
    Page<ZhClasses> graduationZhClassess(Integer pageNum);
    
    //展示所有毕业学生
    public Page<ZhEmployment> listZhEmployments(Integer pageNum);
    
    //根据id删除某人毕业信息
    public Integer deleteZhEmploymentId(Integer emid);
    
    //根据用户姓名得到毕业信息id

    //根据id查询某个毕业生信息
  	public ZhEmployment zhEmploymentId(@Param("emId")Integer emId);
    
}
